package Logica;

import java.util.ArrayList;

public class Owner {
  //Primary Key
  private int numberO;
  //Attributes

  private String FirstName;
  private String LastName;
  // --La clinica lo conoce--private int ClinicNumber;
  private Address direccion;
  private Telephone telefono;
  private ArrayList<Telephone> telefonos = new ArrayList<Telephone>();
  private ArrayList<Invoiced> facturas = new ArrayList<Invoiced>();
  private ArrayList<Pet> mascotas = new ArrayList<Pet>();

  public Owner(String FirstName, String LastName, Address direccion,
               Telephone telefono, ArrayList<Telephone> telefonos,
               ArrayList<Invoiced> facturas, ArrayList<Pet> mascotas) {
    super();
    this.FirstName = FirstName;
    this.LastName = LastName;
    this.direccion = direccion;
    this.telefono = telefono;
    this.telefonos = telefonos;
    this.facturas = facturas;
    this.mascotas = mascotas;
  }


  public void setNumberO(int numberO) {
    this.numberO = numberO;
  }

  public int getNumberO() {
    return numberO;
  }

  public void setFirstName(String FirstName) {
    this.FirstName = FirstName;
  }

  public String getFirstName() {
    return FirstName;
  }

  public void setLastName(String LastName) {
    this.LastName = LastName;
  }

  public String getLastName() {
    return LastName;
  }

  public void setDireccion(Address direccion) {
    this.direccion = direccion;
  }

  public Address getDireccion() {
    return direccion;
  }

  public void setTelefono(Telephone telefono) {
    this.telefono = telefono;
  }

  public Telephone getTelefono() {
    return telefono;
  }

  public void setTelefonos(ArrayList<Telephone> telefonos) {
    this.telefonos = telefonos;
  }

  public ArrayList<Telephone> getTelefonos() {
    return telefonos;
  }

  public void setFacturas(ArrayList<Invoiced> facturas) {
    this.facturas = facturas;
  }

  public ArrayList<Invoiced> getFacturas() {
    return facturas;
  }

  public void setMascotas(ArrayList<Pet> mascotas) {
    this.mascotas = mascotas;
  }

  public ArrayList<Pet> getMascotas() {
    return mascotas;
  }
}

